﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace UI.UserControl.Base
{
    public class RewritePagerBase : System.Web.UI.UserControl
    {
        private string firstPageText = "首页";
        /// <summary>
        /// 首页文本
        /// </summary>
        public string FirstPageText
        {
            get { return firstPageText; }
            set { firstPageText = value; }
        }
        private string lastPageText = "末页";
        /// <summary>
        /// 末页文本
        /// </summary>
        public string LastPageText
        {
            get { return lastPageText; }
            set { lastPageText = value; }
        }

        private int currentPageIndex = 1;

        /// <summary>
        /// 当前页码
        /// </summary>
        public int CurrentPageIndex
        {
            get { return currentPageIndex; }
            set { currentPageIndex = value; }
        }

        private int pageSize = 10;
        /// <summary>
        /// 每页显示的记录条数
        /// </summary>
        public int PageSize
        {
            get { return pageSize; }
            set { pageSize = value; }
        }



        /// <summary>
        /// 分页html内容
        /// </summary>
        protected string PagerHtml { get; set; }
    }
}